package com.itheima.exerciseTest.method01_09.method5;

public class Test {
    public static void main(String[] args) {
        Breeder b = new Breeder();
        b.breed((new Dog()));
        b.breed((new Sheep()));
        b.breed((new Frog()));
    }


}
